var o = getApp();

Page({
    data: {
        member: "",
        avatar_image: ""
    },
    onLoad: function(o) {},
    goth: function() {
        wx.navigateTo({
            url: "/packageE/others/cloudwarehouse/pickUpArea/pickUpArea"
        });
    },
    gothdd: function() {
        wx.navigateTo({
            url: "/packageE/others/cloudwarehouse/cloudOrderList/cloudOrderList"
        });
    },
    gojd: function() {
        wx.navigateTo({
            url: "/packageE/others/cloudwarehouse/cloudRecord/cloudRecord"
        });
    },
    onReady: function() {},
    onShow: function() {
        this.getdData();
    },
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {},
    getdData: function() {
        var e = this, a = o.getNetAddresss("plugin.cloud-warehouse.frontend.user-cloud-warehouse.index");
        o._getNetWork({
            url: a,
            success: function(o) {
                var a = o.data;
                1 == a.result ? (console.log(a), e.setData({
                    member: a.data,
                    avatar_image: a.data.avatar_image
                })) : wx.showToast({
                    icon: "none",
                    title: a.msg,
                    duration: 1500
                });
            },
            fail: function(o) {
                console.log(o);
            }
        });
    }
});